

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link type="text/css" rel="stylesheet" href="${createLinkTo(dir:'css/csslxh',file:'lxh.css')}">
	<title>Create Roleinfo</title>         
</head>

<style>
	input{font-size:14px; border:1px solid #ccc;}
</style>

<body>
<br><br><br><br>

<g:if test="${flash.message}">
	<div class="message">${flash.message}</div>
</g:if>

<g:hasErrors bean="${roleinfo}">
	<div class="errors">
		<g:renderErrors bean="${roleinfo}" as="list" />
	</div>
</g:hasErrors>

<g:form action="save" method="post" >
	<table width="60%" align="center">
	    <tr><td><img src="${createLinkTo(dir:'images',file:'poll.gif')}" style="margin-bottom:-2px; margin-right:5px">Create</td></tr>
	    <tr><td><hr size="1" color="#0D5798"></td></tr>
	  
	    <tr>
	    	<td> 
                <table width="60%" align="center">
                    <tbody>
                    
		                            <tr class="prop">
		                                <td valign="top" class="name">
		                                    <label for="rolename">Rolename:</label>
		                                </td>
		                                <td valign="top" class="value ${hasErrors(bean:roleinfo,field:'rolename','errors')}">
		                                    <input type="text" maxlength="50" id="rolename" name="rolename" value="${fieldValue(bean:roleinfo,field:'rolename')}"/>
		                                </td>
		                            </tr> 
                    
		                            <tr class="prop">
		                                <td valign="top" class="name">
		                                    <label for="memo">Memo:</label>
		                                </td>
		                                <td valign="top" class="value ${hasErrors(bean:roleinfo,field:'memo','errors')}">
		                                    <input type="text" maxlength="100" id="memo" name="memo" value="${fieldValue(bean:roleinfo,field:'memo')}"/>
		                                </td>
		                            </tr> 
                    
		                            <tr class="prop">
		                                <td valign="top" class="name">
		                                    <label for="menus">Menus:</label>
		                                </td>
		                                <td valign="top" class="value ${hasErrors(bean:roleinfo,field:'menus','errors')}">
		                                    <textarea rows="5" cols="40" name="menus">${roleinfo?.menus?.encodeAsHTML()}</textarea>
		                                </td>
		                            </tr> 
                    
                    </tbody>
                </table>

	    <tr><td><hr size="1" color="#0D5798"></td></tr>
	    <tr>
	    	<td align="center">
	    		<input type="submit" value="Create" class="btnSapp">&nbsp;
	    		<input type="button" value="Cancel" class="btnSapp" onclick="history.back()">
	    	</td>
	    </tr>

</g:form>



</body>
</html>
